<?php
/*
 * @作者: 肖吉彬
 * @Date: 2020-12-03 11:29:18
 * @LastEditTime: 2021-04-02 17:03:49
 */
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
Route::get('/', 'admin/Login/index');

Route::group('admin', function () {
    Route::get('/index', 'admin/Index/index');
    Route::get('/list', 'admin/Admin/index');
    Route::get('/add', 'admin/Admin/add');
    Route::get('/edit', 'admin/Admin/edit');
});

Route::group('index', function () {
    Route::get('/index', 'index/Index/index');
    Route::get('/list', 'admin/Admin/index');
    Route::get('/add', 'admin/Admin/add');
    Route::get('/edit', 'admin/Admin/edit');
});
